import request from '@/utils/request'
export function getEmailPage() {
  return request({
    method: 'GET',
    url: '/call-center/api/v1/emailRecord/page'
  })
}
export function getEmailRecord() {
  return request({
    method: 'GET',
    url: '/call-center/api/v1/emailRecord/'
  })
}

/**
 * top2零售订单详情
 * @param {*} retailOrderCode
 * @param {*} disCode
 * @returns
 */
export function top2Retaildetail(retailOrderCode, disCode) {
  return request({
    url: `/call-center/api/v1/retailOrderInfo/detail/${retailOrderCode}/${disCode}`,
    method: 'GET'
  })
}
